<?php
/**
 * 配置文件将根据功能划分，存放在指定的目录下，并以include的方式进行加载
 */

//指定其它可用配置文件所在配置文件路径
$_available_conf_dir_s = dirname(__FILE__) . '/config_devlocal';

$GLOBALS['gConfig'] = array(
	
    'open_base_url' => 'http://localop.sdo.com/',
    'wiki_base_url' => 'http://localwiki.sdo.com/',
    'api_base_url' => 'http://localapi.sdo.com/',
    'admin_base_url' => 'http://localad.sdo.com/',
    'store_base_url' => 'http://localst.sdo.com/',
	'en_open_url' => 'http://dev.en.open.snda.com'

);
/*
 * 默认不开启白名单功能
 */
$GLOBALS['gConfig']['enable_whitelist']= false;


//gateway配置推送地址,这里统一配置
$GLOBALS['gConfig']['gwconfigpush'] = array('10.129.148.5:12001');

//gateway权限部分默认每个api的每分钟访问次数,每秒200次
$GLOBALS['gConfig']['gwapirate'] = 12000;

//esb数据推送节点
$GLOBALS['gConfig']['esbpushnodes'] = array('10.150.15.71:8090');
//监控错误码
$GLOBALS['gConfig']['monitor_errno'] = array(
	'apipool.db.access' => 65020001,
	'apipool.pushconfig' => 65020012
);

//监控错误号定义
define('MONITOR_ERR_PUSHCONFIG', 10000003);


//载入数据库配置
require_once $_available_conf_dir_s . '/dbcache.conf.php';


?>
